﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;

namespace ClumsyWords.Model
{
    public class TermProperties
    {
        public TermProperties() : this(string.Empty, string.Empty, PartOfSpeech.unidentified, string.Empty) { }

        public TermProperties(string term, string definition, PartOfSpeech partOfSpeech, string example)
        {
            this.Term = term;
            this.Definition = definition;
            this.PartOfSpeech = partOfSpeech;
            this.Example = example;
        }

        /// <summary>
        /// The term itself.
        /// </summary>
        public string Term { get; set; }

        /// <summary>
        /// The meaning of the term.
        /// </summary>
        public string Definition { get; set; }

        /// <summary>
        /// Shows what part of speech the term is.
        /// </summary>
        public PartOfSpeech PartOfSpeech { get; set; }

        /// <summary>
        /// Provides an example use of the term if available.
        /// </summary>
        public string Example { get; set; }
    }
}
